package com.kele.system.controller;

import com.kele.base.model.response.ResponseResult;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: Kele
 * @CreateDate: 2023/4/26 13:54
 * @Version:
 */
@RestController
@RequestMapping("/role")
public class RoleController {

    @PostMapping("/list")
    @PreAuthorize("hasAuthority('system-role-list')")
    public ResponseResult getRoleList(){
        return ResponseResult.success();
    }
}
